Integrand size = 22, antiderivative size = 23 \[ \int \frac {\sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \]
[Out]
Time = 0.00 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {23, 8} \[ \int \frac {\sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \]
[In]
[Out]
Rule 8
Rule 23
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {a+b x} \int 1 \, dx}{\sqrt {-a-b x}} \\ & = \frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.00 \[ \int \frac {\sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \]
[In]
[Out]
Time = 0.60 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.00
method | result | size |
default | \(-\frac {\sqrt {b x +a}\, \sqrt {-b x -a}}{b}\) | \(23\) |
risch | \(-\frac {i \sqrt {\frac {-b x -a}{b x +a}}\, \sqrt {b x +a}\, x}{\sqrt {-b x -a}}\) | \(40\) |
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.57 \[ \int \frac {\sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=-\frac {\sqrt {-b^{2}} x}{b} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.86 (sec) , antiderivative size = 53, normalized size of antiderivative = 2.30 \[ \int \frac {\sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\begin {cases} 0 & \text {for}\: \frac {1}{\left |{\frac {a}{b} + x}\right |} < 1 \wedge \left |{\frac {a}{b} + x}\right | < 1 \\- i \left (\frac {a}{b} + x\right ) & \text {for}\: \frac {1}{\left |{\frac {a}{b} + x}\right |} < 1 \vee \left |{\frac {a}{b} + x}\right | < 1 \\- i {G_{2, 2}^{1, 1}\left (\begin {matrix} 1 & 2 \\1 & 0 \end {matrix} \middle | {\frac {a}{b} + x} \right )} - i {G_{2, 2}^{0, 2}\left (\begin {matrix} 2, 1 & \\ & 1, 0 \end {matrix} \middle | {\frac {a}{b} + x} \right )} & \text {otherwise} \end {cases} \]
[In]
[Out]
Exception generated. \[ \int \frac {\sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.27 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.52 \[ \int \frac {\sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {-i \, b x - i \, a}{b} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\int \frac {\sqrt {a+b\,x}}{\sqrt {-a-b\,x}} \,d x \]
[In]
[Out]